<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: wheels::dm::decorator&lt; itfcType &gt; 模板类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></li><li class="navelem"><a class="el" href="../../d8/d2d/namespacewheels_1_1dm.html">dm</a></li><li class="navelem"><a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">decorator</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="../../d9/db7/classwheels_1_1dm_1_1decorator-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">wheels::dm::decorator&lt; itfcType &gt; 模板类 参考</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a>&gt;</code></p>
<div class="dynheader">
类 wheels::dm::decorator&lt; itfcType &gt; 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d6/dd6/classwheels_1_1dm_1_1decorator__inherit__graph.png" border="0" usemap="#awheels_1_1dm_1_1decorator_3_01itfc_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="awheels_1_1dm_1_1decorator_3_01itfc_type_01_4_inherit__map" id="awheels_1_1dm_1_1decorator_3_01itfc_type_01_4_inherit__map">
<area shape="rect" title=" " alt="" coords="17,139,176,528"/>
<area shape="rect" href="../../d8/d3d/structdecorator__private_____1_1st_decoratee_itfc____.html" title=" " alt="" coords="5,5,188,91"/>
<area shape="poly" title=" " alt="" coords="99,106,99,139,94,139,94,106"/>
</map>
</div>
<div class="dynheader">
wheels::dm::decorator&lt; itfcType &gt; 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dd/d69/classwheels_1_1dm_1_1decorator__coll__graph.png" border="0" usemap="#awheels_1_1dm_1_1decorator_3_01itfc_type_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="awheels_1_1dm_1_1decorator_3_01itfc_type_01_4_coll__map" id="awheels_1_1dm_1_1decorator_3_01itfc_type_01_4_coll__map">
<area shape="rect" title=" " alt="" coords="17,139,176,528"/>
<area shape="rect" href="../../d8/d3d/structdecorator__private_____1_1st_decoratee_itfc____.html" title=" " alt="" coords="5,5,188,91"/>
<area shape="poly" title=" " alt="" coords="99,106,99,139,94,139,94,106"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d23/classwheels_1_1dm_1_1decorator_1_1decoratee.html">decoratee</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">装饰品包装，类似与化妆品包装盒  <a href="../../df/d23/classwheels_1_1dm_1_1decorator_1_1decoratee.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a7bc0108d80c4377188ba3c158333647b" id="r_a7bc0108d80c4377188ba3c158333647b"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7bc0108d80c4377188ba3c158333647b">itfc_t</a> = typename std::remove_pointer&lt; typename std::decay&lt;itfcType&gt;::type &gt;::type</td></tr>
<tr class="separator:a7bc0108d80c4377188ba3c158333647b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a705ad4924a905527d6b8f11d2132c6fb" id="r_a705ad4924a905527d6b8f11d2132c6fb"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a705ad4924a905527d6b8f11d2132c6fb">dcrte_t</a> = <a class="el" href="../../df/d23/classwheels_1_1dm_1_1decorator_1_1decoratee.html">decoratee</a></td></tr>
<tr class="separator:a705ad4924a905527d6b8f11d2132c6fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23984211f041c4a30994fc23b611bdbb" id="r_a23984211f041c4a30994fc23b611bdbb"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a23984211f041c4a30994fc23b611bdbb">data_t</a> = std::vector&lt; <a class="el" href="#a705ad4924a905527d6b8f11d2132c6fb">dcrte_t</a> &gt;</td></tr>
<tr class="separator:a23984211f041c4a30994fc23b611bdbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a764639ac72400d4b659e9d5834535251" id="r_a764639ac72400d4b659e9d5834535251"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a764639ac72400d4b659e9d5834535251">iterator</a> = typename <a class="el" href="#a23984211f041c4a30994fc23b611bdbb">data_t</a> :: <a class="el" href="#a764639ac72400d4b659e9d5834535251">iterator</a></td></tr>
<tr class="separator:a764639ac72400d4b659e9d5834535251"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a5e0e6ac1d8a92ccf13f5536af9c8b22a" id="r_a5e0e6ac1d8a92ccf13f5536af9c8b22a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5e0e6ac1d8a92ccf13f5536af9c8b22a">decorator</a> ()</td></tr>
<tr class="separator:a5e0e6ac1d8a92ccf13f5536af9c8b22a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d0c7c0b745586da131ecc2fbf549012" id="r_a8d0c7c0b745586da131ecc2fbf549012"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8d0c7c0b745586da131ecc2fbf549012">~decorator</a> ()</td></tr>
<tr class="separator:a8d0c7c0b745586da131ecc2fbf549012"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08e9636638f68c836aaf8925b761d3b6" id="r_a08e9636638f68c836aaf8925b761d3b6"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a08e9636638f68c836aaf8925b761d3b6">decrat</a> (<a class="el" href="#a705ad4924a905527d6b8f11d2132c6fb">dcrte_t</a> &amp;dcrtee)</td></tr>
<tr class="memdesc:a08e9636638f68c836aaf8925b761d3b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加装饰品.  <br /></td></tr>
<tr class="separator:a08e9636638f68c836aaf8925b761d3b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d619ec20e0a5e7aa746170e7d7a801a" id="r_a1d619ec20e0a5e7aa746170e7d7a801a"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1d619ec20e0a5e7aa746170e7d7a801a">decrat</a> (itfcType *dcrtee)</td></tr>
<tr class="memdesc:a1d619ec20e0a5e7aa746170e7d7a801a"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过接口类型添加装饰品  <br /></td></tr>
<tr class="separator:a1d619ec20e0a5e7aa746170e7d7a801a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad58a57d4f02debbc1fbec678de0fa0d5" id="r_ad58a57d4f02debbc1fbec678de0fa0d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad58a57d4f02debbc1fbec678de0fa0d5">remove</a> (size_t idx)</td></tr>
<tr class="memdesc:ad58a57d4f02debbc1fbec678de0fa0d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除装饰品  <br /></td></tr>
<tr class="separator:ad58a57d4f02debbc1fbec678de0fa0d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a153d03acdd2a37e829b1c0229f79c5f6" id="r_a153d03acdd2a37e829b1c0229f79c5f6"><td class="memTemplParams" colspan="2">template&lt;typename ... Params&gt; </td></tr>
<tr class="memitem:a153d03acdd2a37e829b1c0229f79c5f6"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a153d03acdd2a37e829b1c0229f79c5f6">decratMe</a> (Params &amp;&amp;...args)</td></tr>
<tr class="memdesc:a153d03acdd2a37e829b1c0229f79c5f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用默认接口方式试下配合使用的装饰执行函数  <br /></td></tr>
<tr class="separator:a153d03acdd2a37e829b1c0229f79c5f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a658b7e99598f521ffeac3c7a5ece37ab" id="r_a658b7e99598f521ffeac3c7a5ece37ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a658b7e99598f521ffeac3c7a5ece37ab">decratMeCallback</a> (std::function&lt; void(<a class="el" href="#a705ad4924a905527d6b8f11d2132c6fb">dcrte_t</a> &amp;) &gt; cb)</td></tr>
<tr class="memdesc:a658b7e99598f521ffeac3c7a5ece37ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">实现具体业务的接口，在回调函数中执行装饰任务  <br /></td></tr>
<tr class="separator:a658b7e99598f521ffeac3c7a5ece37ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a881f50317007555e2aacf052ab43a49e" id="r_a881f50317007555e2aacf052ab43a49e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a881f50317007555e2aacf052ab43a49e">decratMeCallback</a> (std::function&lt; void(<a class="el" href="#a7bc0108d80c4377188ba3c158333647b">itfc_t</a> *itfc) &gt; cb)</td></tr>
<tr class="separator:a881f50317007555e2aacf052ab43a49e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7849b48db1f14832525e516e58b6307b" id="r_a7849b48db1f14832525e516e58b6307b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#a764639ac72400d4b659e9d5834535251">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7849b48db1f14832525e516e58b6307b">begin</a> ()</td></tr>
<tr class="separator:a7849b48db1f14832525e516e58b6307b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d8afb06f8c8635096cd9fb7500ee949" id="r_a1d8afb06f8c8635096cd9fb7500ee949"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#a764639ac72400d4b659e9d5834535251">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1d8afb06f8c8635096cd9fb7500ee949">end</a> ()</td></tr>
<tr class="separator:a1d8afb06f8c8635096cd9fb7500ee949"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structdecorator__private_____1_1st_decoratee_itfc____"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_structdecorator__private_____1_1st_decoratee_itfc____')"><img src="../../closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="../../d8/d3d/structdecorator__private_____1_1st_decoratee_itfc____.html">decorator_private__::stDecorateeItfc__</a></td></tr>
<tr class="memitem:af664c4136c48162d91dd78768634ca7c inherit pub_methods_structdecorator__private_____1_1st_decoratee_itfc____" id="r_af664c4136c48162d91dd78768634ca7c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d3d/structdecorator__private_____1_1st_decoratee_itfc____.html#af664c4136c48162d91dd78768634ca7c">~stDecorateeItfc__</a> ()</td></tr>
<tr class="separator:af664c4136c48162d91dd78768634ca7c inherit pub_methods_structdecorator__private_____1_1st_decoratee_itfc____"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:ab4cccb7b76f0955292bfb6dbb8fa7af4" id="r_ab4cccb7b76f0955292bfb6dbb8fa7af4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#a23984211f041c4a30994fc23b611bdbb">data_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab4cccb7b76f0955292bfb6dbb8fa7af4">m_dcrtes__</a></td></tr>
<tr class="separator:ab4cccb7b76f0955292bfb6dbb8fa7af4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename itfcType&gt;<br />
class wheels::dm::decorator&lt; itfcType &gt;</div>
<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00042">42</a> 行定义.</p>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="a23984211f041c4a30994fc23b611bdbb" name="a23984211f041c4a30994fc23b611bdbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23984211f041c4a30994fc23b611bdbb">&#9670;&#160;</a></span>data_t</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::data_t = std::vector&lt; <a class="el" href="#a705ad4924a905527d6b8f11d2132c6fb">dcrte_t</a> &gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00073">73</a> 行定义.</p>

</div>
</div>
<a id="a705ad4924a905527d6b8f11d2132c6fb" name="a705ad4924a905527d6b8f11d2132c6fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a705ad4924a905527d6b8f11d2132c6fb">&#9670;&#160;</a></span>dcrte_t</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::dcrte_t = <a class="el" href="../../df/d23/classwheels_1_1dm_1_1decorator_1_1decoratee.html">decoratee</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00071">71</a> 行定义.</p>

</div>
</div>
<a id="a764639ac72400d4b659e9d5834535251" name="a764639ac72400d4b659e9d5834535251"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a764639ac72400d4b659e9d5834535251">&#9670;&#160;</a></span>iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::iterator = typename <a class="el" href="#a23984211f041c4a30994fc23b611bdbb">data_t</a> :: <a class="el" href="#a764639ac72400d4b659e9d5834535251">iterator</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00074">74</a> 行定义.</p>

</div>
</div>
<a id="a7bc0108d80c4377188ba3c158333647b" name="a7bc0108d80c4377188ba3c158333647b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bc0108d80c4377188ba3c158333647b">&#9670;&#160;</a></span>itfc_t</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::itfc_t = typename std::remove_pointer&lt; typename std::decay&lt;itfcType&gt;::type &gt;::type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00045">45</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a5e0e6ac1d8a92ccf13f5536af9c8b22a" name="a5e0e6ac1d8a92ccf13f5536af9c8b22a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e0e6ac1d8a92ccf13f5536af9c8b22a">&#9670;&#160;</a></span>decorator()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::decorator </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00078">78</a> 行定义.</p>

</div>
</div>
<a id="a8d0c7c0b745586da131ecc2fbf549012" name="a8d0c7c0b745586da131ecc2fbf549012"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d0c7c0b745586da131ecc2fbf549012">&#9670;&#160;</a></span>~decorator()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::~<a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">decorator</a> </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00079">79</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a7849b48db1f14832525e516e58b6307b" name="a7849b48db1f14832525e516e58b6307b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7849b48db1f14832525e516e58b6307b">&#9670;&#160;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#a764639ac72400d4b659e9d5834535251">iterator</a> <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::begin </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00140">140</a> 行定义.</p>

</div>
</div>
<a id="a08e9636638f68c836aaf8925b761d3b6" name="a08e9636638f68c836aaf8925b761d3b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08e9636638f68c836aaf8925b761d3b6">&#9670;&#160;</a></span>decrat() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::decrat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="#a705ad4924a905527d6b8f11d2132c6fb">dcrte_t</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>dcrtee</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>添加装饰品. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">dcrtee[</td><td>I ], 装饰品对象 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>装饰id,也就是索引号。 </dd></dl>
<dl class="section note"><dt>注解</dt><dd>添加装饰的时候返回的是其索引，如果后续修改了需要同步操作 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00087">87</a> 行定义.</p>

</div>
</div>
<a id="a1d619ec20e0a5e7aa746170e7d7a801a" name="a1d619ec20e0a5e7aa746170e7d7a801a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d619ec20e0a5e7aa746170e7d7a801a">&#9670;&#160;</a></span>decrat() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::decrat </td>
          <td>(</td>
          <td class="paramtype">itfcType *</td>          <td class="paramname"><span class="paramname"><em>dcrtee</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>通过接口类型添加装饰品 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">dcrtee</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00096">96</a> 行定义.</p>

</div>
</div>
<a id="a153d03acdd2a37e829b1c0229f79c5f6" name="a153d03acdd2a37e829b1c0229f79c5f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a153d03acdd2a37e829b1c0229f79c5f6">&#9670;&#160;</a></span>decratMe()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
<div class="memtemplate">
template&lt;typename ... Params&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::decratMe </td>
          <td>(</td>
          <td class="paramtype">Params &amp;&amp;...</td>          <td class="paramname"><span class="paramname"><em>args</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用默认接口方式试下配合使用的装饰执行函数 </p>

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00113">113</a> 行定义.</p>

</div>
</div>
<a id="a658b7e99598f521ffeac3c7a5ece37ab" name="a658b7e99598f521ffeac3c7a5ece37ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a658b7e99598f521ffeac3c7a5ece37ab">&#9670;&#160;</a></span>decratMeCallback() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::decratMeCallback </td>
          <td>(</td>
          <td class="paramtype">std::function&lt; void(<a class="el" href="#a705ad4924a905527d6b8f11d2132c6fb">dcrte_t</a> &amp;) &gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现具体业务的接口，在回调函数中执行装饰任务 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">cb[</td><td>I ]回调函数， void fun( decrat_t&amp; item );</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>这个接口会使用openomp的方式并行执行，如果在业务程序中存在互斥数据应该自行处理好 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00124">124</a> 行定义.</p>

</div>
</div>
<a id="a881f50317007555e2aacf052ab43a49e" name="a881f50317007555e2aacf052ab43a49e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a881f50317007555e2aacf052ab43a49e">&#9670;&#160;</a></span>decratMeCallback() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::decratMeCallback </td>
          <td>(</td>
          <td class="paramtype">std::function&lt; void(<a class="el" href="#a7bc0108d80c4377188ba3c158333647b">itfc_t</a> *itfc) &gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00132">132</a> 行定义.</p>

</div>
</div>
<a id="a1d8afb06f8c8635096cd9fb7500ee949" name="a1d8afb06f8c8635096cd9fb7500ee949"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d8afb06f8c8635096cd9fb7500ee949">&#9670;&#160;</a></span>end()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#a764639ac72400d4b659e9d5834535251">iterator</a> <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::end </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00141">141</a> 行定义.</p>

</div>
</div>
<a id="ad58a57d4f02debbc1fbec678de0fa0d5" name="ad58a57d4f02debbc1fbec678de0fa0d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad58a57d4f02debbc1fbec678de0fa0d5">&#9670;&#160;</a></span>remove()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::remove </td>
          <td>(</td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>idx</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>移除装饰品 </p>

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00104">104</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="ab4cccb7b76f0955292bfb6dbb8fa7af4" name="ab4cccb7b76f0955292bfb6dbb8fa7af4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4cccb7b76f0955292bfb6dbb8fa7af4">&#9670;&#160;</a></span>m_dcrtes__</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename itfcType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#a23984211f041c4a30994fc23b611bdbb">data_t</a> <a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator</a>&lt; itfcType &gt;::m_dcrtes__</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00076">76</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/designM/<a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
